Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing reference point etc. #362

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

fixing reference point etc. #362

wants to merge 1 commit into from

Conversation

vpicheny
Copy link
Collaborator

@vpicheny vpicheny commented Oct 1, 2021

In CEHVI, the reference point is now based on the feasible set of points rather than the optimal ones only.

In the plotting code, a bug is fixed so that the Pareto front excludes infeasible points according to the constraint.

@@ -352,6 +352,7 @@ def optimize(
history: list[Record[S]] = []

for step in range(num_steps):
print(step)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

monitoring? :)

@@ -1060,7 +1060,7 @@ def prepare_acquisition_function(
feasible_mean, _ = objective_model.predict(feasible_query_points)

_pf = Pareto(feasible_mean)
_reference_pt = get_reference_point(_pf.front)
_reference_pt = get_reference_point(feasible_mean)
Copy link
Collaborator

@TsingQAQ TsingQAQ Oct 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for learning curious: as get_reference_point is currently only intend to extract the reference point from a 'front' (as conveyed from its input arg's name, though we never check if input is really a 'front'), is 1063 more like a tmp fix, or some ref doc could be mentioned here as well to align with this specific adaptive choice of ref pt in CMOO? And if there is only 1 feasible point, we'd assume this behaves the same?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a temporary fix. It's possibly a very bad choice in general. On my current problem it works well because the constraints are quite restrictive. We may want to discuss what we want to do with reference point management in general. It feels that we can't stick to a single solution.

@hstojic
Copy link
Collaborator

hstojic commented Jan 12, 2023

@vpicheny what do you want to do with this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants